package com.kitty.listener.event;

import com.kitty.game.role.model.Role;
import com.kitty.listener.BasePlayerEvent;
import com.kitty.listener.EventType;
import lombok.Getter;

/**元婴血婴等级提升事件*/
@Getter
public class ChildLevelUpEvent extends BasePlayerEvent {
    private Role role;
    /**升级前等级*/
    private short oldLevel;
    /**升级后等级*/
    private short level;

    public ChildLevelUpEvent(EventType evtType, Role role, short oldLevel, short level) {
        super(evtType, role);
        this.oldLevel = oldLevel;
        this.level = level;
        this.role = role;
    }
}
